home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilstem
/
dosutil2
/
password.doc
< prev
next >
Wrap
Text File
|
1984-07-08
|
2KB
|
48 lines
PASSWORD.BAS
(Version 1.1)
This BASICA 2.0 program reads a password from a user-defined file called
PASSWORD.DAT and compares it character-by character with the keyboard entry
of the password. It starts over each time an error of any kind is made and
kills the system by zeroing low memory after three errors are made.
During the running of PASSWORD.BAS the control sequences Ctrl-Alt-Del,
Ctrl-C, & Ctrl-Break are disabled.
To control a password-controlled system, create an autoexec.bat file as
follows on each system disk or in the root (\) directory of your hard disk:
Prompt user enters
------ --------------------------
A> copy con autoexec.bat | & press {return}
basica password | & press {return}
date | & press {return}
time | & press {return}
{F6} or {Ctrl}Z | & press {return}
If you alseady have an Autoexec.bat file simply edit the file so that the
line "basica password" is the first one in the file.
Naturally, BASICA.COM, PASSWORD.DAT, and the above AUTOEXEC.BAT files must
all be on the system disk in the root directory.
A password file called PASSWORD.DAT has already been created with the
password of 'system manager'. If you want a different password enter:
Prompt user enters
------ --------------------------
A> copy con password.dat | & press {return}
{your password} | & press {return}
{F6} or {Ctrl}Z | & press {return}
If you forget your password the program allows the character "}" as an
alternate.
7/10/84 - Version 1.1 now supports color (also works fine on IBM
or equivalent high-res monochrome monitors). Have fun!
next - maybe some good sole would like to compile the program or
better yet translate it to assembler or Turbo Pascal.